﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyTodo.Shared.Dtos;

/// <summary>
/// 待办事项实体
/// </summary>
public class ToDoDto : BaseDto
{
    private string title = null!;
    private string? content;
    private int status;

    /// <summary>
    /// 标题
    /// </summary>
    public string Title
    {
        get => title;
        set
        {
            title = value;
            OnPropertyChanged();
        }
    }
    /// <summary>
    /// 内容
    /// </summary>
    public string? Content
    {
        get => content;
        set
        {
            content = value;
            OnPropertyChanged();
        }
    }
    /// <summary>
    /// 状态
    /// </summary>
    public int Status
    {
        get => status;
        set
        {
            status = value;
            OnPropertyChanged();
        }
    }
}
